<div ng-include="sys_html('common/_header')"></div>
<style>
p {margin:0}
.order-list .tips-icon svg {
	width:62px;
	margin-right:10px;
	fill:#1a8ee9
}
.order-list .tips-box {
	height:135px;
	margin-top:22px;
	background-color:#fff;
	border-radius:10px;
	box-shadow:0 0 5px #eee;
	display:flex;
	justify-content:center;
	align-items:center
}
.order-list .tips-txt {
	color:#666;
	font-size:16px;
	text-align:center
}
.order-list .link-box {
	margin:20px 0;
	padding:0 0.5rem;
	display:flex;
	justify-content:space-between
}
.order-list .link-btn {
	width:48%;
	height:46px;
	line-height:46px;
	border-radius:10px;
	text-align:center;
	font-size:18px;
	font-weight:600
}
.order-list .link-btn1 {
	background-color:#fff;
	box-shadow:0 0 3px #ccc
}
.order-list .link-btn2 {
	background-color:#fe254f;
	box-shadow:0 0 3px #fe254f;
	color:#fff
}
</style>
<div class="fui-page order-list-page">
	 <div class="fui-tab fui-tab-danger" style="top:0">
			<a ng-class="{'external active':pagedata.params.status == 100}" href="javascript:" ng-click="pagedata.params.status = 100;tool.get_list('jy_ailiao/fuwu.log/getlist/',true)" class="external">全部</a>
			<a ng-class="{'external active':pagedata.params.status == 0}" ng-click="pagedata.params.status=0;tool.get_list('jy_ailiao/fuwu.log/getlist/',true)">待查看</a>
			<a ng-class="{'external active':pagedata.params.status == 1}" ng-click="pagedata.params.status=1;tool.get_list('jy_ailiao/fuwu.log/getlist/',true)">已查看</a>

			<a ng-class="{'external active':pagedata.params.status == 2}" ng-click="pagedata.params.status=2;tool.get_list('jy_ailiao/fuwu.log/getlist/',true)">没兴趣</a>

			<a ng-class="{'external active':pagedata.params.status == 3}" ng-click="pagedata.params.status=3;tool.get_list('jy_ailiao/fuwu.log/getlist/',true)">约红娘</a>
	</div>
	<div class='fui-content order-list' style="margin-top:2.5rem">	
		<div style="padding:0 0.5rem">
		<div class="fui-cell-group radius" ng-repeat="item in pagedata.list">
			<div class="fui-cell" style="padding: 0.42rem 0.5rem">
                    <div class="fui-cell-info">
                        <div class="subtitle"> 编号: ID{{item.id}}</div>
                    </div>
					<div class="fui-cell-remark noremark">
						{{item.statustitle}}
					</div>
             </div> 
			<div class="fui-cell">
			<div class="fui-cell-label" style="width:3.5rem" href="javascript:;" ng-click="access_json('jy_ailiao/memberitem//mid='+item.mid)">
				<img class="round" style="width:3rem;height:3rem;border-radius:3rem" ng-src="{{tomedia(item.member.avatar) || '../addons/jy_ailiao/resource/images/nologo.png'}}">
			</div>
			<div class="fui-cell-text">
				<div class="title" style="font-size:0.76rem">
					<span class="bold" style="font-size:0.8rem;width:auto;margin-right:0.2rem">{{item.member.nickname || '无昵称'}}</span>
					<i ng-if="item.member.sex==2" class="icon icon-nv red"></i>
					<i ng-if="item.member.sex==1" class="icon icon-nan" style="color:#18bc9c"></i>
				</div>
			</div>
			<div class="fui-cell-remark noremark">
				<span class="jylabel jylabel-success active" style="padding:0.3rem 0.6rem;border-radius:1rem;font-weight:400">约瓶方</span>
			</div>
			</div>
			<div class="fui-cell">
			<div class="fui-cell-label" style="width:3.5rem" href="javascript:;" ng-click="access_json('jy_ailiao/memberitem//mid='+item.tomid)">
				<img class="round" style="width:3rem;height:3rem;border-radius:3rem" ng-src="{{tomedia(item.tomember.avatar) || '../addons/jy_ailiao/resource/images/nologo.png'}}">
			</div>
			<div class="fui-cell-text">
				<div class="title" style="font-size:0.76rem">
					<span class="bold" style="font-size:0.8rem;width:auto;margin-right:0.2rem">{{item.tomember.nickname || '无昵称'}}</span>
					<i ng-if="item.tomember.sex==2" class="icon icon-nv red"></i>
					<i ng-if="item.tomember.sex==1" class="icon icon-nan" style="color:#18bc9c"></i>
				</div>
				
			</div>
			<div class="fui-cell-remark noremark">
				 <span class="jylabel jylabel-red active" style="padding:0.3rem 0.6rem;border-radius:1rem;font-weight:400">被约方</span>
			</div>
			</div>
			<div class="fui-cell-title">
				<div class="subtitle r">
				    {{item.createtime}}
				</div>
			</div>
		</div>
		</div>
		<div ng-if="pagedata.loading" class='infinite-loading'><span class='fui-preloader'></span><span style="margin-left:1.5rem"> 正在加载...</span></div>
		<div ng-if="pagedata.list.length==0" class='content-empty' >
			<i class="icon icon-cry" style="width: 6rem;margin-bottom: 0.5rem;"></i>
			<br/>
			<p style="color: #999;font-size: .75rem">暂时没有任何记录</p>
		</div>
	</div>
</div>
<!-- 取消记录-->
<div ng-if="pagedata.checkcancel" class="popup">
			<div class="popup-body">
			<div class="popup-center" style="border-radius:0.2rem;">
				<div class="fui-page-title" style="margin-top:1rem">确定要取消记录吗？</div>
				<div class="modal-footer" style="margin-top:2rem">
					<a ng-click="pagedata.checkcancel=false" class="mod-fail">取消</a>
					<a href="javascript:" ng-click="post({id:pagedata.orderid},'cancel','id='+pagedata.orderid);pagedata.checkcancel=false" class="mod-success" style="background:{{main.syscolor || 'red'}}">确定</a>
				</div>
			</div>
			</div>
</div>
<div ng-include="sys_html('_fuwufooter')"></div>
<script>
//手机软键盘--搜索
$("body").keydown(function() {
    if (event.keyCode == "13") {
        $('#searchsub').click();
    }
});
scope.tool.get_list('jy_ailiao/fuwu.log/getlist/',true);
scope.pagedata.scroll_bottom=function(){
	scope.tool.get_list('jy_ailiao/fuwu.log/getlist/');
}
</script>